package com.ray.ba.starter.security.jwt.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;


/**
 * description
 *
 * @author r.shi 2020/04/02 12:19
 */
@Data
public class JwtConfigProperty {

    @Value("${jwt.tokenHeader:Authorization}")
    private String tokenHeader;

    @Value("${jwt.tokenHead:Bearer}")
    private String tokenHead;

    @Value("${jwt.secret:perms-admin-secret}")
    private String secret;

    @Value("${jwt.expiration:604800}")
    private Long expiration;

}
